package com.coocaa.ops.admin.v1.policygroup.provider.impl;


import com.coocaa.ops.admin.v1.policygroup.biz.impl.PolicyGroupChipModelConfigBizImpl;
import com.coocaa.ops.admin.v1.policygroup.provider.IPolicyGroupInfoRlsUpdateProvider;
import com.coocaa.ops.common.core.biz.policygroup.entity.PolicyGroupInfoEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author bjh
 * @description 策略组信息原始表 关联信息更新提供者接口实现
 * @date : 2020-03-12 14:46:04
 */
@Service
public class PolicyGroupInfoRlsUpdateProviderImpl implements IPolicyGroupInfoRlsUpdateProvider {
    @Autowired
    private PolicyGroupChipModelConfigBizImpl chipModelConfigBiz;

    @Override
    public void saveRls(PolicyGroupInfoEntity inputEntity, Integer userId) {
        chipModelConfigBiz.saveModelChipRls(inputEntity);
    }

    @Override
    public void deleteAllRls(Integer id, Integer version) {
        chipModelConfigBiz.deleteRls(id, version);
    }

    @Override
    public void logicDelAllRls(Integer id, Integer version, Integer userId) {
        chipModelConfigBiz.logicDeleteRls(id, version, userId);
    }
}
